
// 低代码平台和生产环境用生产域名，其他用测试域名
const BASIC_PATH =
  ['dv.dlife.cn'].includes(window.location.host)
    ? 'https://vcp.21cn.com/'
    : process.env.NODE_ENV === 'development'
      ? 'https://vcp.21cn.com/'
      : '/';


export const API_URLS = {
  getDemo: `${BASIC_PATH}gw/vcpsaas/card/widgetData/proxy/11500143`,
  getRegions: `${BASIC_PATH}gw/vcpsaas/device/getRegions`,// 监控目录
  deviceCount: `${BASIC_PATH}gw/vcpsaas/device/deviceCount`, // 设备数量
  getDevicePackageList: `${BASIC_PATH}gw/vcpsaas/device/getDevicePackageList`,// 设备套餐
  getListMsg: `${BASIC_PATH}gw/vcpsaas/alert/listMsg`, // 告警列表
  getCardDeviceInfo: `${BASIC_PATH}gw/vcpsaas/screen/card/getCardDeviceInfo`,// 获取卡片配置
  saveCardDeviceInfo: `${BASIC_PATH}gw/vcpsaas/screen/card/saveCardDeviceInfo`,// 保存卡片配置
  getDeviceInfoByDevs: `${BASIC_PATH}gw/vcpsaas/device/getDeviceInfoByDevs`,// 设备信息
  getAlarmImageUrl: `${BASIC_PATH}gw/vcpsaas/ai/common/getAlarmImageUrl`, // 获取图片
  batchGetAlarmImageUrl: `${BASIC_PATH}gw/vcpsaas/ai/common/batchGetAlarmImageUrl`, //批量获取图片
  getCusDevices: `${BASIC_PATH}gw/vcpsaas/device/getCusDevices`, // 设备搜索（监控目录）
  getIndDevices: `${BASIC_PATH}gw/vcpsaas/device/getIndDevices`, // 设备搜索（固定业务树）

  getTypeInfo: `${BASIC_PATH}gw/vcpsaas/card/widgetData/proxy/11350161`, //获取疑似xx类型人员信息列表
}